let mixin = {
	onLoad() {
		let routes = getCurrentPages();
		const index = routes.length - 1;
		console.log("当前",routes[index].$page.fullPath);
	},
	onShareAppMessage(res) {
		if (res.from === 'button') {
			// 来自页面内转发按钮
			console.log(res.target)
		}
		return {
			title: '考研政治真题模拟题一刷到底',
			path: '/pages/index/index',
			imageUrl: 'https://zztkxcx.dodoedu.com/zztkxcx_images/static/img/bg/share.png'
		}
	}
}
export default mixin;
